package com.example.csmall.product.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/*lombok框架提供的注解，可以在编译期间生成get/set等等方法*/
@Data
public class Album implements Serializable {

    //对应bigint
    private Long id;
    //对应varchar/char/text系列
    private String name;
    private String description;
    //Integer对应int/tinyint/sallint
    private Integer sort;
    //LocalDateTime对应datetime类型
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

}
